home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / share / liferea / css / liferea.css < prev   
Encoding:
Cascading Style Sheet File  |  2010-07-19  |  6.3 KB  |  387 lines

  1. /**
  2.  * @file liferea.css  Liferea HTML view default stylesheet
  3.  *
  4.  * Copyright (C) 2004-2008 Lars Linder <lars.lindner@gmail.com>
  5.  * Copyright (C) 2004 delusional <delusional@dx13.co.uk>
  6.  *
  7.  * This program is free software; you can redistribute it and/or modify
  8.  * it under the terms of the GNU General Public License as published by
  9.  * the Free Software Foundation; either version 2 of the License, or
  10.  * (at your option) any later version.
  11.  *
  12.  * This program is distributed in the hope that it will be useful,
  13.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15.  * GNU General Public License for more details.
  16.  *
  17.  * You should have received a copy of the GNU General Public License
  18.  * along with this program; if not, write to the Free Software
  19.  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
  20.  *
  21.  */
  22.  
  23. /* 
  24.  
  25.    Font Definitions: 
  26.    =================
  27.  
  28.    No style definition should set absolute font sizes,
  29.    font families or line heigth and spacing. This is to allow a GNOME
  30.    preference controlled default font size. 
  31.    
  32.    Color Definitions:
  33.    ==================
  34.    
  35.    To allow using GTK theme colors the following key words 
  36.    will be replaced with the corresponding GTK theme color values:
  37.    
  38.    GTK-COLOR-FG
  39.    GTK-COLOR-BG
  40.    GTK-COLOR-LIGHT
  41.    GTK-COLOR-DARK
  42.    GTK-COLOR-MID
  43.    GTK-COLOR-BASE
  44.    GTK-COLOR-TEXT
  45.    GTK-COLOR-NORMAL-LINK    (does only work with GTK 2.10+)
  46.    GTK-COLOR-VISITED-LINK    (does only work with GTK 2.10+)
  47.    
  48.    General note: relative positioning breaks link in GtkHTML2!
  49.  */
  50.  
  51. body {
  52.     background: #GTK-COLOR-BASE;
  53.     color: #GTK-COLOR-TEXT;
  54.     padding:0;
  55.     margin:0;
  56. }
  57.  
  58. blockquote {
  59.         border-left: 2px solid #GTK-COLOR-DARK;
  60.         background: #GTK-COLOR-BG;
  61.         padding: 5px;
  62.         font-style: italic;
  63.         margin: 5px 20px;
  64.     clear:both;
  65. }
  66.  
  67. a {
  68.     color: #GTK-COLOR-NORMAL-LINK;
  69. }
  70.  
  71. a:visited {
  72.     color: #GTK-COLOR-VISITED-LINK;
  73. }
  74.  
  75. dd {
  76.     padding-left: 30px;
  77. }
  78.  
  79. img {
  80.     border:0;
  81.     margin:2px;
  82. }
  83.  
  84. img.gravatar {
  85.     /* gravatars have align="left" so we need proper margin */
  86.     margin-right:12px;
  87. }
  88.  
  89. #map img {
  90.     /* OpenStreeMap map tiles must have no border */
  91.     border:0px;
  92.     margin:0px;
  93. }
  94.  
  95. /* styles for the item description (currently also used for
  96.    the feed description) */
  97. table.itemhead, table.feedhead {
  98.     margin:0;
  99.     width:100%;
  100.     border:0;
  101.     border-bottom: 1px solid #GTK-COLOR-DARK;
  102.     clear:both;
  103.     color:#GTK-COLOR-TEXT;
  104. }
  105.  
  106. .flagged {
  107.     background-color:#F77;
  108. }
  109.  
  110. .unflagged, .feedhead {
  111.     background-color: #GTK-COLOR-MID;
  112. }
  113.  
  114. table.itemhead * td {
  115.     padding: 2px;
  116.     padding-top: 4px;
  117. }
  118.  
  119. table.itemhead * a.itemhead {
  120.     text-decoration:none;
  121.     color:#GTK-COLOR-TEXT;
  122.     font-weight:bold;
  123. }
  124.  
  125. td.headleft {
  126.     text-align:right;
  127.     white-space:nowrap;    /* workaround to prevent buggy gtkhtml2 word wrappings */
  128. }
  129.  
  130. td.headright {
  131.     padding:2px 5px;
  132. }
  133.  
  134. table.headmeta {
  135.     background:#GTK-COLOR-BG;
  136.     width:100%;
  137.     border:0;
  138.     border-bottom:#GTK-COLOR-MID solid 1px;
  139.     margin:0;
  140. }
  141.  
  142. table.headmeta td {
  143.     padding:1px 6px 1px 12px;
  144.     font-size:0.8em;
  145. }
  146.  
  147. .hidden {
  148.     visibility:hidden;
  149.     display:none;
  150. }
  151.  
  152. .itemmenu {
  153.     margin:0;
  154.     padding:0;
  155. }
  156.  
  157. .itemmenu a {
  158.     text-decoration:none;
  159.     color:#GTK-COLOR-TEXT;
  160. }
  161.  
  162. .itemmenu a:hover {
  163.  
  164. }
  165.  
  166. .itemmenu * span {
  167.     font-size:1em;
  168.     font-family:sans-serif;
  169.     padding:0;
  170.     margin:0;
  171.     position:relative; 
  172.     top:-3px;
  173. }
  174.  
  175. .itemmenu * img {
  176.     padding:0;
  177.     margin:0;
  178.     height:16px;
  179.     position:relative; 
  180.     top:1px;
  181. }
  182.  
  183. .author, .categories, .source {
  184.         padding:0;
  185.     margin-left:0;
  186.         margin-right:12px;
  187. }
  188.  
  189. .date {
  190.     white-space:nowrap;
  191.     text-align:right;
  192.     padding-right:5px;
  193. }
  194.  
  195. div.content, div.foottext {
  196.     padding:0px 6px 0px 12px;
  197. }
  198.  
  199. div.comment {
  200.     border:1px solid #GTK-COLOR-DARK;
  201.     margin-bottom:5px;
  202. }
  203.  
  204. div.comment_body {
  205.     padding-left:6px;
  206.     padding-right:6px;
  207. }
  208.  
  209. div.comment_title {
  210.     padding-left:6px;
  211.     padding-right:6px;
  212.     font-weight:bold;
  213.     background:#GTK-COLOR-BG;
  214. }
  215.  
  216. a.favicon {
  217.     text-decoration:none;
  218. }
  219.  
  220. a.favicon img {
  221.     width:16px;
  222.     border:0;
  223.     margin:0;
  224.     padding:0;
  225. }
  226.  
  227. /* styles to realize shading of new items in condensed mode */
  228. .itemshaded { background:#ffe; color:black; padding:1px; margin:0; }
  229.  
  230. .itemunshaded { padding:1px; margin:0; }
  231.  
  232. .summaryshaded, .summaryunshaded { 
  233.     padding:0px 6px; 
  234.     margin:0;
  235. }
  236.  
  237. .summaryshaded a {
  238.     display:block;
  239.     background:#ffe;
  240.     color:black;
  241.     text-decoration:none;
  242.     padding:1px 0px;
  243.     font-weight:bold;
  244. }
  245.  
  246. .summaryunshaded a {
  247.     display:block;
  248.     color:#GTK-COLOR-TEXT;
  249.     text-decoration:none;
  250.     padding:1px 0px;
  251. }
  252.  
  253. .summarytime {
  254.     padding-right:15px;
  255.     white-space:nowrap;
  256.     color:#999;
  257. }
  258.  
  259. .summaryflagged a {
  260.     color:red;
  261. }
  262.  
  263. .summaryunflagged a {
  264. }
  265.  
  266. hr.summary {
  267.     border:0;
  268.     padding:0;
  269.     margin:2px;
  270.     border-bottom:1px dashed #ddd;
  271. }
  272.  
  273. /* style for the HTTP error box at the beginning
  274.    of the feed description and for item comment feeds */
  275. #errors, #commentFeedError {
  276.     width:100%;
  277.     border:0;
  278.     border-bottom:1px solid black;
  279.     margin:0;
  280.     background:#ffa;
  281. }
  282.  
  283. #commentFeedError {
  284.     border:1px solid black;
  285. }
  286.  
  287. #parseError, #filterError, #updateError {
  288.     padding:2px;
  289.     padding-left:5px;
  290.     padding-right:5px;
  291. }
  292.  
  293. div.xmlparseroutput {
  294.     margin:10px 0px 10px 15px;
  295.     padding:5px;
  296.     border:2px solid #GTK-COLOR-DARK;
  297.     background:#GTK-COLOR-LIGHT;
  298. }
  299.  
  300. span.details, span.detaillink {
  301.     visibility:hidden;
  302.     display:none;
  303. }
  304.  
  305. span.details {
  306.     padding:5px;
  307.     margin:15px;
  308. }
  309.  
  310. span.showmore {
  311.     text-decoration:underline;
  312.     color:blue;
  313.     cursor:pointer;
  314. }
  315.  
  316. /* namespace specific styles */
  317. div.blogchanneltitle {
  318.     padding-left:10px;
  319.     padding-right:10px;
  320.     background-color:#GTK-COLOR-DARK;
  321.     color:#GTK-COLOR-TEXT;
  322. }
  323.  
  324. .slash {
  325.     background:#60A080;
  326.     padding-left:5px;
  327.     padding-right:5px;
  328. }
  329.  
  330. .slashSection, .slashDepartment {
  331.     padding-right:2px;
  332.     color:black;
  333. }
  334.  
  335. .slashValue {
  336.     padding-right:6px;
  337.     color:white;
  338.     font-weight:bold;
  339. }
  340.  
  341. div.photoheader {
  342.     margin:10px 0;
  343.     padding-left:10px;
  344.     padding-right:10px;
  345.     background-color:#GTK-COLOR-DARK;
  346.     color:#GTK-COLOR-TEXT;
  347. }
  348.  
  349. table.enclosure {
  350.     background:#CCC;    /* fixed color because xspf background is fixed #CCC */
  351.     width:100%;
  352.     margin:0;
  353.     border:0;
  354.     border-top:#GTK-COLOR-LIGHT solid 1px;
  355.     border-bottom:#GTK-COLOR-DARK solid 1px;
  356. }
  357.  
  358. table.enclosure * td {
  359.     padding-left:9px;
  360.     overflow:hidden;
  361. }
  362.  
  363. table.enclosure * a {
  364.     text-decoration:none;
  365.     color:black;
  366. }
  367.  
  368. img.enclosurebtn {
  369.     padding-left:1px;
  370.     margin-left:2px;
  371.     margin-top:4px;
  372. }
  373.  
  374. .enclosure * object {
  375.     margin-left:5px;
  376.     margin-top:2px;
  377. }
  378.  
  379. del {
  380.     text-decoration: line-through;
  381. }
  382.  
  383. ins {
  384.     text-decoration: underline;
  385. }
  386.  
  387.